using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._AviationTools._Charting._DataExchange
{
    /// <summary>
    /// <para>Import Digital Obstacle File</para>
    /// <para>Adds, deletes, and updates the obstacle point features in an input obstacle feature class using an input digital obstacle file (DOF).</para>
    /// <para>使用输入数字障碍物文件 （DOF） 在输入障碍物要素类中添加、删除和更新障碍点要素。</para>
    /// </summary>    
    [DisplayName("Import Digital Obstacle File")]
    public class ImportDOF : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ImportDOF()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_obstacle_file">
        /// <para>Input Digital Obstacle File</para>
        /// <para>A DOF with a .DAT file extension. The contents of the DOF will be used to update the Target Obstacle Features parameter values.</para>
        /// <para>具有 .DAT 文件扩展名。景深的内容将用于更新目标障碍物要素参数值。</para>
        /// </param>
        /// <param name="_obstacle_features">
        /// <para>Target Obstacle Features</para>
        /// <para>The point feature class that will contain obstacle information from the DOF after execution.</para>
        /// <para>执行后将包含来自自由度的障碍物信息的点要素类。</para>
        /// </param>
        public ImportDOF(object _in_obstacle_file, object _obstacle_features)
        {
            this._in_obstacle_file = _in_obstacle_file;
            this._obstacle_features = _obstacle_features;
        }
        public override string ToolboxName => "Aviation Tools";

        public override string ToolName => "Import Digital Obstacle File";

        public override string CallName => "aviation.ImportDOF";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_obstacle_file, _obstacle_features, _updated_obstacle_features];

        /// <summary>
        /// <para>Input Digital Obstacle File</para>
        /// <para>A DOF with a .DAT file extension. The contents of the DOF will be used to update the Target Obstacle Features parameter values.</para>
        /// <para>具有 .DAT 文件扩展名。景深的内容将用于更新目标障碍物要素参数值。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Digital Obstacle File")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_obstacle_file { get; set; }


        /// <summary>
        /// <para>Target Obstacle Features</para>
        /// <para>The point feature class that will contain obstacle information from the DOF after execution.</para>
        /// <para>执行后将包含来自自由度的障碍物信息的点要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Obstacle Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _obstacle_features { get; set; }


        /// <summary>
        /// <para>Updated Obstacle Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Obstacle Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_obstacle_features { get; set; }


        public ImportDOF SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}